@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

.v-modal{
  z-index: 99 !important;
}
html {
  height: 100%;
  box-sizing: border-box;
}
.custom{
 h3{
   margin: 0;
 }
 .el-message-box__status{
   top: 30%;
 }
}
#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 10px;
  background-color: #f2f2f2;
}

// 表单
.demo-ruleForm{
  margin-right: 50px;
  .el-select{
    width: 100%;
  }
}
// 吸顶
.sticky{
  position: sticky;
  top: 0;
  z-index: 100;
}

// flex布局
.dis-flex{
  display: flex;
}
.flex-x-center{
  justify-content: center;
}
.flex-x-around{
  justify-content: space-around;
}
.flex-y-center{
  align-items: center;
}
.flex-x-end{
  justify-content: flex-end;
}
.flex-x-between{
  justify-content: space-between;
}
.flex-dir-column{
  flex-direction: column;
}
.flex-wrap{
  flex-wrap: wrap;
}

// 字体
.f-12{
  font-size: 12px;
}
.f-14{
  font-size: 14px;
}

.app-content{
  margin:0 10px 10px;
  .operation{
    background: white;
    padding-top: 10px;
    border-radius: 8px;
    .ml-10{
      margin-left: 10px;
    }
  }
  .el-table{
    margin-top: 10px;
  }
}

// 搜索
.seach-box{
  background: white;
  margin:0 10px 10px;
  padding: 10px;
  border-radius: 8px;
  .seach-name{
    font-size: 13px;
  }
 .el-input{
    flex:0 0 180px;
    margin-left: 10px;
  }
  .el-button{
     margin-left: 10px;
  }
  .el-select{
    flex: 0 0 180px;
    margin-right: 10px;
  }
}

// 状态
.success_row {
	color: #2DC4A2;
	border: 1px solid #2DC4A2;
	padding: 0 5px;
	text-align: center;
	font-weight: 600;
	border-radius: 4px;
  min-width: 60px;
	background: rgba(45, 196, 162, 0.1);
}

.danger_row {
	color: #E02020;
	padding: 0 5px;
	text-align: center;
	font-weight: 600;
	border-radius: 4px;
	background: #FFF1F0;
	border: 1px solid #FFA39E;
  min-width: 60px;
}

.primary_row {
	color: #0091FF;
	padding: 0 5px;
	text-align: center;
	font-weight: 600;
	border-radius: 4px;
	background: rgba(0, 145, 255, 0.1);
	border: 1px solid #0091FF;
  min-width: 60px;
}

.b-f{
background: white;
}

.required{
  color: red;
  margin: 0 5px;
}

.col-blue{
  color: #0091FF;
}
